package com.baomidou.mybatisplus.annotation;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Documented
@Repeatable(CompoundIndexes.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface CompoundIndex {
    String def() default "";

    /** @deprecated */
    @Deprecated
    IndexDirection direction() default IndexDirection.ASCENDING;

    boolean unique() default false;

    boolean sparse() default false;

    /** @deprecated */
    @Deprecated
    boolean dropDups() default false;

    String name() default "";

    boolean useGeneratedName() default false;

    boolean background() default false;

    String partialFilter() default "";
}
